package com.zensun.common.enums.domain;

/**
 * 部门表枚举类
 *
 * @author gmk
 */
public class SysDeptEnum {

    public static enum Type {

        DEPT("1", "部门"),
        PROJECT("2", "项目");

        private String code;
        private String value;

        Type(String code, String value) {
            this.code = code;
            this.value = value;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }

    public static enum Status {

        UNNORMAL("0", "停用"),
        NORMAL("1", "正常");

        private String code;
        private String value;

        Status(String code, String value) {
            this.code = code;
            this.value = value;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }
}
